/*
 * @Description: 接口测试类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-03-07 10:16:24
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-03-07 10:22:58
 */
public class IActionTest {

  public static void main(String[] args) {
    // 接口不能实例化对象 编译错误
    // IAction iA = new IAction();
    // 接口引用指向实现类对象
    IAction iA = new ActionImpl();
    iA.start();
    iA.end();
    System.out.println(IAction.NUM);
    System.out.println(iA.NUM);
  }
}